package com.zhanghu.backendZray.pojo.request.userRole;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author ZhangDong
 * @date 2024/7/25 21:02
 */
@Data
public class UserRoleRequest {

    @NotNull(message = "用户id不能为空")
    private Integer userId;
    @NotEmpty(message = "角色id集合不能为空")
    private List<Integer> roleIdList;
}
